
using System;
using System.Collections.Generic;
using System.Text;

namespace Model.BBS
{ 
    public class BBSAccessoryInfo
    {
        private int id;
        private int parentID;
        private string fileName;
        private int fileSize;
        private string fileType;
        private int customType;
        private string userID;
        private string userName;
        private DateTime inputTime;
        private byte[] buffer;
        public BBSAccessoryInfo()
        { 
        
        }
        public BBSAccessoryInfo(int id, int parentID, string fileName, int fileSize, string fileType, int customType, string userID, string userName, DateTime inputTime, byte[] buffer)
        {
            this.id = id;
            this.parentID = parentID;
            this.fileName = fileName;
            this.fileSize = fileSize;
            this.fileType = fileType;
            this.customType = customType;
            this.userID = userID;
            this.userName = userName;
            this.inputTime = inputTime;
            this.buffer = buffer;

        }

        public int ID
        {
            get { return id; }
            set { id = value; }
        }
        public int ParentID
        {
            get { return parentID; }
            set { parentID = value; }
        }
        public string FileName
        {
            get { return fileName; }
            set { fileName = value; }
        }
        public int FileSize
        {
            get { return fileSize; }
            set { fileSize = value; }
        }
        public string FileType
        {
            get { return fileType; }
            set { fileType = value; }
        }
        public int CustomType
        {
            get { return customType; }
            set { customType = value; }
        }
        public string UserID
        {
            get { return UserID; }
            set { userID = value; }
        }
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }
        public DateTime InputTime
        {
            get { return inputTime; }
            set { inputTime = value; }
        }
        public byte[] Buffer
        {
            get { return buffer; }
            set { buffer = value; }
        }

    }
}
